<template>
    <div>
        <div class="top">
            <div class="left">廊坊</div>
            <div class="center">
                <input type="text" placeholder="请输入商家名字">
            </div>
            <div class="right">
                <img src="../../images/地图.png" alt="">
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'Top',
    components: {

    }
}
</script>

<style scoped>
.top {
    width: 100%;
    height: 60px;
    background-color: #FFC000;
    margin: 0;
    padding: 0;
    display: flex;
}
.left {
    font-size: 20px;
    line-height: 60px;
    margin-left: 20px;
}
.center {
    line-height: 60px;
}
.center input {
    height: 35px;
    width: 200px;
    margin-left: 20px;
    border-radius: 15px;
}
.right {
    line-height: 80px;
}
.right img {
    width: 30px;
    height: 30px;
    margin-left: 90%;
}
</style>